<?php
	require ROOT . 'template/header.php';

	$student = mysql_fetch_assoc(mysql_query("SELECT * FROM `leerlingen` WHERE `id`='" . User::getID() . "'"));
?>
			<div id="content2">
				<h1>Goedemiddag <span><?php echo User::getFirstName();?></span></h1>
				<p>At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.</p>
				
				<div id="vak">
					<p>Maak de test en verdien <span class="extra">extra punten</span>!</p>
					<ul>
							<li class="close"><a href="paginas/game/quiz-index.htm">Geschiedenis</a></li>
							<li>Aardrijkskunde</li> 
						</ul>
					
				</div>

				<!--
				
				<div id="logincont">
				<div id="img"></div>
						<div id="login">
						<h3>Leerling direct inloggen</h3>

						<form id="loginForm" name="loginForm" method="post" action="login-exec.php">
								<div class="username">	
										Gebruikersnaam:<br />
					<input name="login" type="text" class="textfield" id="login" />
								</div>
								<div class="password">
										Wachtwoord:<br />
										<input name="password" type="password" class="textfield" id="password" />
								</div>
								<div>
								<input type="submit" name="Submit" class="submit" value="Login">

								</div>
						</form>
					</div>
				</div><!-- end login        -->
				
				
			</div><!-- end content2 -->
		 <div id="sidebar">
			<div id="stats">
					<h2>Mijn punten</h2>
						<ul>
							<li>Sterren:</li>
							<li class="gold star">(<?php echo $student['gouden_sterren']?>)</li>
							<li class="silver star">(<?php echo $student['zilveren_sterren']?>)</li>
							<li class="brons star">(<?php echo $student['bronzen_sterren']?>)</li>
						</ul>
				</div>
				<div class="clear"></div>
				<div id="latest-news">
					<h2>Nieuws</h2	>
						<div class="post">
						 <ul>
							<li>
									<a>
										<p><span>20-02-2012</span>  Bosbranden kosten 339</p>
									</a>
								</li>
								<li>
									<a>
										<p><span>20-02-2012</span>  Bosbranden kosten 339</p>
									</a>
								</li>
								<li>
									<a>
										<p><span>20-02-2012</span>  Bosbranden kosten 339</p>
									</a>
								</li>
								<li>
									<a>
										<p><span>20-02-2012</span>  Bosbranden kosten 339</p>
									</a>
								</li>
								<li>
									<a>
										<p><span>20-02-2012</span>  Bosbranden kosten 339</p>
									</a>
								</li>
						 </ul>
						</div><!-- end lastnews  -->
			 </div>
					<div id="poll">
						<h2>Stelling</h2>
						<div class="post">
							<ul>
								<?php require ROOT . 'paginas/poll/include.php'; ?>
							</ul>
						</div>
				</div>
		 </div><!-- end sidebar -->
		</div>
</div>
<div id="footer">
		Copyright  © 2012 Enjoy Learning
</div>
</body>
</html>
